package com.gztms.usermgnt.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.gztms.usermgnt.pojo.User;
import com.gztms.usermgnt.pojo.vo.PasswordVO;
import com.gztms.utils.ResultUtil;

/**
 * @author Zoey
 * @date 2023/3/8 0:59
 * @Description
 **/
public interface UserService extends IService<User> {
    ResultUtil register(User user);

    ResultUtil updateAvatar(String uid, String avatar);

    ResultUtil updateUserInfo(User user);

    ResultUtil getUserInfoByUid(String uid);

    ResultUtil addAdmin(User user);

    ResultUtil updatePassword(PasswordVO passwordVO);
}
